package JDBC;

import java.util.Scanner;

public class Test2 {
	public static void main(String args[]) {
		Scanner in=new Scanner(System.in);
		int i=in.nextInt();
		while(in.hasNext()) 
		{
			if(i==1) 
			{
				System.out.println(1);
			}
			if(i==2) 
			{
				System.out.println(2);
			}
			if(i==3) 
			{
				System.out.println(3);
			}
			if(i!=3) 
			{
				System.out.println(false);
			}
			i=in.nextInt();
		}
	}

}
